package com.dengyuanke.common.log.event;

import com.dengyuanke.upms.domain.entity.Log;
import lombok.Getter;
import org.springframework.context.ApplicationEvent;

/**
 * @author lengleng
 * 系统日志事件
 */
@Getter
public class SysLogEvent extends ApplicationEvent {

    private Log log;

    /**
     * Create a new ApplicationEvent.
     *
     * @param log the object on which the event initially occurred (never {@code null})
     */
    public SysLogEvent(Log log) {
        super(log);
        this.log = log;
    }
}
